package com.engine.salary.entity.taxdeclaration.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.YearMonth;
import java.util.Date;

/**
 * 生成个税申报表参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaxDeclarationSaveParam {

    /**
     * 个税申报id
     */
    private Long taxDeclarationId;

    /**
     * 薪资所属月
     */
    private YearMonth salaryMonth;

    /**
     * 个税扣缴义务人
     */
    private Long taxAgentId;

    /**
     * 备注
     */
    private String description;

    private String salaryMonthStr;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date taxCycle;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date salaryDate;
}
